// 采购管理
// import Layout from "@/layout";

const PurchaseManageRouter = {
  path: "/purchase-manage",
  component: "Layout",
  redirect: "noRedirect",
  name: "PurchaseManage",
  meta: { title: "采购管理", icon: "purchase-manage" },
  children: [
    // {
    //   path: "/purchase-order-manage",
    //   name: "PurchaseOrderManage",
    //   component: "digital-operation/purchase-manage/purchase-order-manage/index",
    //   meta: { title: "采购订单管理", icon: "purchase-order-manage" }
    // },
    // {
    //   path: "/purchase-order-complete",
    //   name: "PurchaseOrderComplete",
    //   component: "digital-operation/purchase-manage/purchase-order-complete/index",
    //   meta: { title: "采购订单完成", icon: "purchase-order-manage" }
    // },
    // {
    //   path: "/purchase-order-examine",
    //   name: "PurchaseOrderExamime",
    //   component: "digital-operation/purchase-manage/purchase-order-examine/index",
    //   meta: { title: "采购订单审核", icon: "purchase-order-manage" }
    // },
    // {
    //   path: "/supplier-manage",
    //   name: "SupplierManage",
    //   component: "digital-operation/purchase-manage/supplier-manage/index",
    //   meta: { title: "供应商管理", icon: "supplier-manage" }
    // },
    {
      path: "/supplier-type",
      name: "SupplierType",
      component: "digital-operation/purchase-manage/supplier-type/index",
      meta: { title: "供应商分类", icon: "supplier-type" }
    },
    {
      path: "/supplier-manage",
      name: "SupplierManage",
      component: "digital-operation/purchase-manage/supplier-manage/index",
      meta: { title: "供应商管理", icon: "supplier-manage" }
    },
    {
      path: "/purchase-order",
      name: "PurchaseOrder",
      component: "digital-operation/purchase-manage/purchase-order/index",
      meta: { title: "采购订单", icon: "purchase-order" }
    },
    {
      path: "/arrival-notice",
      name: "ArrivalNotice",
      component: "digital-operation/purchase-manage/arrival-notice/index",
      meta: { title: "到货通知", icon: "arrival-notice" }
    },
    {
      path: "/purchase-return-record",
      name: "PurchaseReturnRecord",
      component: "digital-operation/purchase-manage/purchase-return-record/index",
      meta: { title: "采购退货记录", icon: "purchase-return-record" }
    }
  ]
};

export default PurchaseManageRouter;
